package com.group3.service;

import com.group3.domain.Leave;
import com.group3.pojo.Page;
import com.group3.pojo.receive.LeaveReceive;
import com.group3.utils.Result;

import java.util.List;

/**
 * LeaveService
 *
 * @author HY
 * 2021/06/10 16:57
 **/


public interface StudentLeaveService {
    Result<List<Leave>> getLeaveRecord(LeaveReceive leaveReceive);
    Result getLeaveDetail(String leaveId);
    Result submitLeave(Leave leave,String token);
    Result redoLeave(Leave leave,String token);
}
